package com.yc.qunxing;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.session.data.redis.config.annotation.web.http.EnableRedisHttpSession;
import org.springframework.transaction.annotation.EnableTransactionManagement;

@SpringBootApplication
@EnableFeignClients
@MapperScan("com.yc.qunxing.mapper")
@EnableTransactionManagement //开启注解方式的事务管理
@EnableRedisHttpSession
public class QunxingDriverApplication {

    public static void main(String[] args) {
        SpringApplication.run(QunxingDriverApplication.class, args);
    }

}
